package com.nian.global.utils;

import java.util.Map;

/**
 * Created by nian on 2023/8/19.
 */
public class JsoupArgs {

    private String url;

    /**
     * 代理host
     */
    private String host;

    /**
     * 代理端口
     */
    private int port;

    /**
     * 超时时间
     */
    private int millis;

    /**
     *
     */
    private boolean ignoreContentType;

    /**
     *
     */
    private boolean ignoreHttpErrors;

    /**
     *
     */
    private int maxBodySize;

    /**
     *
     */
    private Map<String,String> headers;

    /**
     *
     */
    private Map<String, String> cookies;

    /**
     *
     */
    private String body;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getMillis() {
        return millis;
    }

    public void setMillis(int millis) {
        this.millis = millis;
    }

    public boolean isIgnoreContentType() {
        return ignoreContentType;
    }

    public void setIgnoreContentType(boolean ignoreContentType) {
        this.ignoreContentType = ignoreContentType;
    }

    public boolean isIgnoreHttpErrors() {
        return ignoreHttpErrors;
    }

    public void setIgnoreHttpErrors(boolean ignoreHttpErrors) {
        this.ignoreHttpErrors = ignoreHttpErrors;
    }

    public int getMaxBodySize() {
        return maxBodySize;
    }

    public void setMaxBodySize(int maxBodySize) {
        this.maxBodySize = maxBodySize;
    }

    public Map<String, String> getHeaders() {
        return headers;
    }

    public void setHeaders(Map<String, String> headers) {
        this.headers = headers;
    }

    public Map<String, String> getCookies() {
        return cookies;
    }

    public void setCookies(Map<String, String> cookies) {
        this.cookies = cookies;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}
